x86/shadow: don't pass wrong L4 MFN to guest_walk_tables()
authorJan Beulich <jbeulich@suse.com>
Mon, 18 Mar 2019 16:00:28 +0000 (17:00 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 18 Mar 2019 16:00:28 +0000 (17:00 +0100)
commitcf9901070d031bcb14f0536c89ba622491b7fbe7
tree4a839127b6bab585f1d49ede6408893c8cc82a9a
parent0c0f0ab5ab58fef59d357897749553f610cf7101
x86/shadow: don't pass wrong L4 MFN to guest_walk_tables()

64-bit PV guest user mode runs on a different L4 table. Make sure
- the accessed bit gets set in the correct table (and in log-dirty
  mode the correct page gets marked dirty) during guest walks,
- the correct table gets audited by sh_audit_gw(),
- correct info gets logged by print_gw().

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: George Dunlap <george.dunlap@citrix.com>
master commit: db2af23d15077605f286d8ef86c8f5d9c1b8302a
master date: 2019-02-20 17:07:17 +0100
xen/arch/x86/mm/shadow/multi.c